//
// Created by hsj on 2022/3/10.
//
#include <iostream>
#include <initializer_list>
#include <string>
#ifndef CLION_CPP_T_INITIALIZER_LIST_H
#define CLION_CPP_T_INITIALIZER_LIST_H
namespace t_initializer_list_test{
    using std::cout;
    using std::cin;
    using std::endl;
    using std::string;
    using std::initializer_list;


    //总数
    double sum(initializer_list<double> il);
    //平均值
    double average(const initializer_list<double> &il);
    //测试
    void test();
}
#endif //CLION_CPP_T_INITIALIZER_LIST_H
